<div id="createDialog" class="crudDialog">
    <form id="SecUsercreateForm" method="post">

        <div class="form-group col-md-12">
            <label class="col-md-2" for="loginName">登录名</label>
            <div class="col-md-8 col-md-offset-2">
                <input id="loginName" type="text" class="form-control" name="loginName" maxlength="100"/>
            </div>
            <div class="help-block col-md-2"></div>
        </div>

        <div class="form-group col-md-12">
            <label class="col-md-2" for="nickName">昵称</label>
            <div class="col-md-8 col-md-offset-2">
                <input id="nickName" type="text" class="form-control" name="nickName" maxlength="100"/>
            </div>
            <div class="help-block col-md-2"></div>
        </div>

        <div class="form-group col-md-12">
            <label class="col-md-2" for="gender">性别</label>
            <div class="col-md-8 col-md-offset-2">
                <select id="gender" class="form-control" name="gender">
                    <option value="1">男</option>
                    <option value="0">女</option>
                    <option value="-1">未知</option>
                </select>
            </div>
            <div class="help-block col-md-2"></div>
        </div>

        <div class="form-group col-md-12">
            <label class="col-md-2" for="mobile">手机号</label>
            <div class="col-md-8 col-md-offset-2">
                <input id="mobile" type="text" class="form-control" name="mobile" maxlength="20"/>
            </div>
            <div class="help-block col-md-2"></div>
        </div>

        <div class="form-group col-md-12">
            <label class="col-md-2" for="email">邮箱</label>
            <div class="col-md-8 col-md-offset-2">
                <input id="email" type="text" class="form-control" name="email" maxlength="100"/>
            </div>
            <div class="help-block col-md-2"></div>
        </div>
        <input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
        <div class="form-group text-right dialog-buttons">
            <button class="waves-effect waves-button" id="btn-SecUser-submit">保存</button>
            <a class="waves-effect waves-button" href="javascript:;" onclick="createDialog.close();">取消</a>
        </div>
    </form>
</div>